Skip to content

Commit c0521a0

Browse files
authored
Import of v0.33.0 (#2100)
1 parent 5c088f2 commit c0521a0

13 files changed

+604
-254
lines changed

CHANGES.md

Lines changed: 97 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,79 @@
33

44
All notable changes to this program are documented in this file.
55

6+
## 0.33.0 (2023-04-03, `a80e5fd61076`)
7+
8+
### Known problems
9+
10+
- _Startup hang with Firefox running in a container (e.g. snap, flatpak):_
11+
12+
When Firefox is packaged inside a container (like the default Firefox browser
13+
shipped with Ubuntu 22.04), it may see a different filesystem to the host.
14+
This can affect access to the generated profile directory, which may result
15+
in a hang when starting Firefox. Workarounds are listed in the geckodriver
16+
[usage documentation].
17+
18+
- _Potential hang with `moz:debuggerAddress` capability set to `true`:_
19+
20+
After enabling the site-isolation feature in Firefox with geckodriver 0.32.1
21+
some WebDriver clients like Selenium that use the Chrome DevTools Protocol (CDP)
22+
by default for logging events could trigger a hang in Firefox's experimental CDP
23+
implementation. The fix for this problem will be shipped with Firefox 112.
24+
Until then the following Firefox preferences should be set:
25+
26+
- `fission.bfcacheInParent: false`
27+
- `fission.webContentIsolationStrategy: 0`
28+
29+
### Added
30+
31+
- Support for [Get Computed Label] and [Get Computed Role]
32+
33+
The command [Get Computed Label] returns the accessibility label (sometimes
34+
also referred to as Accessible Name), which is a short string that labels the
35+
function of the control (e.g. the string "Comment" or "Sign In" on a button).
36+
37+
The command [Get Computed Role] returns the reserved token value (in ARIA,
38+
button, heading, etc.) that describes the type of control or content in the
39+
element.
40+
41+
Note that the minimum required Firefox version is 113.0.
42+
43+
- Support for [Find Element From Shadow Root] and [Find Elements From Shadow Root]
44+
45+
The commands allow a lookup of individual elements or collections of elements
46+
within an open or closed Shadow DOM. All location strategies except `Tag name` and
47+
`XPath selector` are currently supported.
48+
49+
Note that the minimum required Firefox version is 113.0.
50+
51+
### Changed
52+
53+
- The Mozilla specific capability `moz:useNonSpecCompliantPointerOrigin` has been
54+
marked as deprecated. Its removal is planned for the Firefox 116.0 release.
55+
656
## 0.32.2 (2023-02-08, `602aa16c20d4`)
757

58+
### Known problems
59+
60+
- _Startup hang with Firefox running in a container (e.g. snap, flatpak):_
61+
62+
When Firefox is packaged inside a container (like the default Firefox browser
63+
shipped with Ubuntu 22.04), it may see a different filesystem to the host.
64+
This can affect access to the generated profile directory, which may result
65+
in a hang when starting Firefox. Workarounds are listed in the geckodriver
66+
[usage documentation].
67+
68+
- _Potential hang with `moz:debuggerAddress` capability set to `true`:_
69+
70+
After enabling the site-isolation feature in Firefox with geckodriver 0.32.1
71+
some WebDriver clients like Selenium that use the Chrome DevTools Protocol (CDP)
72+
by default for logging events could trigger a hang in Firefox's experimental CDP
73+
implementation. The fix for this problem will be shipped with Firefox 112.
74+
Until then the following Firefox preferences should be set:
75+
76+
- `fission.bfcacheInParent: false`
77+
- `fission.webContentIsolationStrategy: 0`
78+
879
### Fixed
980

1081
- With the release of geckodriver 0.32.1 the marionette crate was inappropriately
@@ -13,6 +84,27 @@ All notable changes to this program are documented in this file.
1384

1485
## 0.32.1 (2023-02-02, `b7f075124503`)
1586

87+
### Known problems
88+
89+
- _Startup hang with Firefox running in a container (e.g. snap, flatpak):_
90+
91+
When Firefox is packaged inside a container (like the default Firefox browser
92+
shipped with Ubuntu 22.04), it may see a different filesystem to the host.
93+
This can affect access to the generated profile directory, which may result
94+
in a hang when starting Firefox. Workarounds are listed in the geckodriver
95+
[usage documentation].
96+
97+
- _Potential hang with `moz:debuggerAddress` capability set to `true`:_
98+
99+
After enabling the site-isolation feature in Firefox with geckodriver 0.32.1
100+
some WebDriver clients like Selenium that use the Chrome DevTools Protocol (CDP)
101+
by default for logging events could trigger a hang in Firefox's experimental CDP
102+
implementation. The fix for this problem will be shipped with Firefox 112.
103+
Until then the following Firefox preferences should be set:
104+
105+
- `fission.bfcacheInParent: false`
106+
- `fission.webContentIsolationStrategy: 0`
107+
16108
### Fixed
17109

18110
- When using the boolean capability `moz:debuggerAddress` with a value of `true`
@@ -1648,6 +1740,7 @@ and greater.
16481740
- Squash compile warnings
16491741

16501742
[README]: https://github.com/mozilla/geckodriver/blob/master/README.md
1743+
[usage documentation]: <https://firefox-source-docs.mozilla.org/testing/geckodriver/Usage.html#Running-Firefox-in-an-container-based-package>
16511744
[Browser Toolbox]: https://developer.mozilla.org/en-US/docs/Tools/Browser_Toolbox
16521745
[WebDriver conformance]: https://wpt.fyi/results/webdriver/tests?label=experimental
16531746
[`webSocketUrl`]: https://developer.mozilla.org/en-US/docs/Web/WebDriver/Capabilities/webSocketUrl
@@ -1703,8 +1796,11 @@ and greater.
17031796
[webdriver crate]: https://crates.io/crates/webdriver
17041797

17051798
[Actions]: https://w3c.github.io/webdriver/webdriver-spec.html#actions
1706-
[Delete Session]: https://w3c.github.io/webdriver/webdriver-spec.html#delete-session
17071799
[Element Click]: https://w3c.github.io/webdriver/webdriver-spec.html#element-click
1800+
[Find Element From Shadow Root]: https://w3c.github.io/webdriver/#dfn-find-element-from-shadow-root
1801+
[Find Elements From Shadow Root]: https://w3c.github.io/webdriver/#dfn-find-elements-from-shadow-root
1802+
[Get Computed Label]: https://w3c.github.io/webdriver/#get-computed-label
1803+
[Get Computed Role]: https://w3c.github.io/webdriver/#get-computed-role
17081804
[Get Element Shadow Root]: https://w3c.github.io/webdriver/#get-element-shadow-root
17091805
[Get Timeouts]: https://w3c.github.io/webdriver/webdriver-spec.html#get-timeouts
17101806
[Get Window Rect]: https://w3c.github.io/webdriver/webdriver-spec.html#get-window-rect

0 commit comments

Comments
 (0)